import React from 'react'
import './css/page-title.css'


class PageTitle extends React.Component {
    render() {
        return (
            <div className='page_title'>
                <div className='title'>
                    <span>
                        {this.props.icon}
                    </span>
                    <span>
                        {this.props.title}
                    </span>
                </div>
                <div>
                    {this.props.btn}
                </div>
            </div>
        );
    }
}

export default PageTitle